home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-01-01 | 60.9 KB | 1,787 lines |
-
-
-
-
-
-
-
-
- Ç ────────────────────────────────────────────
- Ç ┼┐════════════════════════════════════════════
- ╔╬╗ ┴
- ╨║╨ ┐
- ╔╩╗ ┴
- ╨ ╨
-
- ▒▒▒▒▒▒▒▒▄ ▒▒▄ ▒▒▄ ▒▒▄ ▒▒▄ ▒▒▄ ▒▒▄ ▒▒▄ ▒▒▄ ▒▒▄ ▒▒▄
- ▒▒█▀▀▀▀▀▀ ▒▒▒▄ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒▒▄ ▒▒▒█ ▒▒▒▒▄ ▒▒▒▄ ▒▒█
- ▒▒▒▒▒▒▒▒▄ ▒▒█▒▒▄▒▒█ ▒▒▄ ▒▒█▀ ▒▒█ ▒▒▒█ ▒▒▒█ ▒▒█▀▒▒▄ ▒▒█▒▒▄▒▒█
- ▒▒█▀▀▀▀▀▀ ▒▒█ ▀▒▒▒█ ▒▒▒▒█▀ ▒▒█ ▒▒█▒▒▄▒▒█ ▒▒▒▒▒▒█ ▒▒█ ▀▒▒▒█
- ▒▒▒▒▒▒▒▒▄ ▒▒█ ▒▒█ ▒▒█▀ ▒▒█ ▒▒▒▒▒▒▄ ▒▒█▒▒█▒▒█ ▒▒█▀▀▀▒▒▄ ▒▒█ ▒▒█
- ▀▀▀▀▀▀▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀▀▀▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀
-
-
-
-
- Welcome to ENVI_MAN, a utility program to assist
- in analyzing and managing the Environment data!
-
-
-
-
-
-
-
-
-
-
-
-
- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
-
- U S E R M A N U A L
-
- Version 1.1
-
- ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
-
- Copyright 1991-1994 by MicroMetric.
- All rights reserved.
-
- Document last edited: January 1, 1994
-
- ENVI_MAN is distributed as SHAREWARE and, as such, may be copied and shared on a
- private non-commercial basis with others in its unmodified form. Liability is
- limited to replacing the software for registered users. There is no liability
- for any damage or loss caused by this software, directly or indirectly.
- ┌────────────────────────────────────────────────┐
- │ ┌───────┐ │█
- │ ┌────┴──┐ │ (R) │█
- │ ──│ │O │─────────────────── │█
- │ │ ┌────┴╨─┐ │ Association of │█
- │ │ │ │─┘ Shareware │█
- │ └──│ O │ Professionals │█
- │ ─────│ ║ │───────────────────── │█
- │ └───╨───┘ MEMBER │█
- └────────────────────────────────────────────────┘█
- ██████████████████████████████████████████████████
-
- If you have problems with this program, or want to send comments, manual correc-
- tions, or enhancement suggestions, you may call or mail them to:
-
- MicroMetric
- 98 Dade Avenue
- Sarasota, FLorida 34232-1609 USA
-
- Technical Support (813) 377-2515
- FAX . . . . . . . (813) 377-2091
- Support BBS . . . (813) 371-2490
-
- The MicroMetric Software Support BBS provides availability and technical support
- for the MicroMetric ■■■■_MAN series of shareware programs. First time callers
- have access to the board and can leave messages or download replies/current
- shareware releases. Registered users may also download the latest Beta test
- software releases, when available.
-
- Additionally, you can send routed E-Mail via the RIME(tm) network to David
- Groome at the ->ACTION node in the ASP, Laser, Batch, Common, or Shareware con-
- ferences. I also check CompuServe (71631,744), but only on an infrequent basis.
-
- PKZIP, PKUNZIP and PKSFX are trademarks of PKWARE, Inc.
- MS-DOS is a registered trademark of the Microsoft Corporation.
- IBM PC, XT, AT and PC-DOS are registered trademarks of the IBM Corporation.
-
-
-
-
-
-
-
-
-
-
-
- ii
-
-
- TABLE OF CONTENTS
-
-
- INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
- Major Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
- System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . 1
- Manual Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
- Page layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
- Brackets and parentheses . . . . . . . . . . . . . . . . . . . . . . 1
- Computer key conventions . . . . . . . . . . . . . . . . . . . . . . 1
- Action steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
- ■■■■_MAN programs . . . . . . . . . . . . . . . . . . . . . . . . . . 2
- Shareware distributed documentation manual . . . . . . . . . . . . . 2
- Shareware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
-
- INSTALLING THE SYSTEM . . . . . . . . . . . . . . . . . . . . . . . . . . 5
- From a Diskette Vendor . . . . . . . . . . . . . . . . . . . . . . . . . 5
- From a BBS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
- Registered Version . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
- Program Operation with Microsoft Windows . . . . . . . . . . . . . . . . 10
-
- RUNNING ENVI_MAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
- Requested Environment Memory . . . . . . . . . . . . . . . . . . . . . . 11
- Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
- Shareware message . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
-
- MASTER AND PROGRAM ENVIRONMENTS . . . . . . . . . . . . . . . . . . . . . . 13
- Master Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
- Program Environment . . . . . . . . . . . . . . . . . . . . . . . . . . 13
- Master Environment Expansion . . . . . . . . . . . . . . . . . . . . . . 14
-
- ENVI_MAN OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
- Program Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
- Environment Data Display . . . . . . . . . . . . . . . . . . . . . . . . 18
- Environment Space Remaining Display . . . . . . . . . . . . . . . . . . 19
- Additional Environment Space Required Display . . . . . . . . . . . . . 19
- Available Environment Space ERRORLEVEL calculation . . . . . . . . . . . 20
-
- ENVI_MAN BATCH FILE EXAMPLES . . . . . . . . . . . . . . . . . . . . . . . 23
- Sample MENU_MAN Batch File . . . . . . . . . . . . . . . . . . . . . . . 24
-
- ENVI_MAN FILES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
-
- INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
-
-
-
-
-
-
-
-
-
-
-
- iii
-
- TABLE OF CONTENTS ENVI_MAN Version 1.1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- iv
-
-
- INTRODUCTION
-
- ENVI_MAN is a utility that accomplishes two major function. The first is the
- ability to display all of the current environment strings and data about the
- environment such as the location, size and space availability of the Master
- environment. The second function is to let a batch file know how much environ-
- ment space is currently available and to provide a graceful exit if there is not
- enough. The routine may also show that, under certain circumstances, the size of
- the master environment can be expanded with no change being made to the
- CONFIG.SYS file.
-
- Major Features
-
- * Data display option showing each of the current environment strings along
- with its length. Summary data on the Master environment size, current envi-
- ronment size and available environment space is also shown.
- * Single line summary display option of the available environment space as
- reported by ERRORLEVEL.
- * Sets the ERRORLEVEL variable to the available environment space for use in
- testing within batch files.
- * Option to calculate the available environment space with or without possible
- free memory located above the master environment.
- * Option to compare and test the available environment space with a requested
- amount of needed environment memory.
- * May be run from the DOS prompt to display data or from a batch file to test
- available environment space.
- * Written in assembler for fast operation and small size.
-
- System Requirements
-
- ENVI_MAN will run on an IBM PC, XT, AT or true compatibles. It has been tested
- with PC-DOS/MS-DOS operating systems, version 3.0 through version 5.0.
-
- Manual Format
-
- This manual is divided into several introductory chapters followed by a chapter
- for each ENVI_MAN function menu. The format of these chapters, and the informa-
- tion presented therein, has been standardized using the following conventions.
-
- Page layout - Each page has a header detailing the chapter and the program ver-
- sion covered. A footer displays the manual page number.
-
- Brackets and parentheses - Brackets, [...], are used in the manual and in the
- help screens to specify what should be entered in response to the current
- prompt. If a character string is to be entered, the type of character is noted,
- such as ALPHA, NUMERIC, ANY, etc. Parentheses, (..), are used for comments.
-
- Computer key conventions - Keys specified in the manual text that are not in
- entry brackets are shown as reversed text, such as ESCAPE . All key references
- are in capital letters for clarity.
-
- Action steps - Some procedures may require selection from a menu of options,
- inputting data, or following a sequence of operations. Most manual sections will
- first give an overview of the function or task under discussion and then detail
-
- 1
-
- INTRODUCTION ENVI_MAN Version 1.1
-
- the various action operating procedures. In order to make this manual easier to
- use, a symbol, -> , marks the beginning of each of these action operating proce-
- dures.
-
- ■■■■_MAN programs - The general group of shareware programs by MicroMetric is
- referred to by the name ■■■■_MAN. It may also be used in reference to a specific
- program in that group.
-
- Shareware distributed documentation manual - The documentation file included on
- the shareware distribution diskette contains the same information as the printed
- and bound manual, supplied as part of registration, with two exceptions, the
- result of the word processor, formatting, and printer used. The first is that
- all of the control display characters (ASCII 1-31) and the reverse print key-
- board codes are NOT shown properly. Finally, bolding, underlining, and special
- symbols are NOT present.
-
- Shareware
-
- ENVI_MAN is being distributed as SHAREWARE. The SHAREWARE concept allows users
- to examine a program on a trial basis, at no (or minimal) charge, before pur-
- chasing it. In addition, by decreasing marketing costs, professional quality
- software may be distributed for a fraction of the cost of a comparable commer-
- cial product. Regardless of whether you register the program, please help dis-
- tribute ENVI_MAN by sharing unmodified copies of it and its files with others.
-
- You are hereby granted the right to use the ENVI_MAN program for a thirty (30)
- day evaluation period. If you find ENVI_MAN of value, and continue to use it
- after this evaluation period, YOU MUST REGISTER YOUR PROGRAM USE. This will
- provide you with:
-
- * A 7" x 8 1/2" printed and bound manual.
- * ENVI_MAN phone or mail support for one year.
- * Notification of the next ENVI_MAN release.
- * Ability to suppress the shareware registration reminder message displayed
- at the end of the program.
- * An installation/update/registration brand program.
- * Sincere thanks for your support of the SHAREWARE concept.
-
- A Single System Program Registration entitles the user to unlimited use of the
- ENVI_MAN program on a single computer.
-
- A Site License Program Registration entitles the user to unlimited use of the
- ENVI_MAN program on all computers, including networks, at a single corporate
- location.
-
-
-
-
-
-
-
-
-
-
- 2
-
- ENVI_MAN Version 1.1 INTRODUCTION
-
- Program Registration, Single System . . . $20.
- Includes latest version diskette and manual
- Program Registration, Site License . . . $100.
- Includes latest version diskette and manual
- Latest Version Diskette only . . . . . . . $5.
- Shipping - USA/Canada/Mexico . . . . . . . $5.
- Shipping - Outside of USA/Canada/Mexico . $10.
- COD orders, add $5.
- Florida residents, add 7% sales tax
-
- You should specify diskette size and density desired. If none is specified, 3½"
- DSHD will normally be supplied.
-
- ADDRESS: MicroMetric
- 98 Dade Avenue
- Sarasota, FLorida 34232-1609 USA
-
- PHONE: Technical Support (813) 377-2515
- FAX . . . . . . . (813) 377-2091
- Support BBS . . . (813) 371-2490
- Order Line . . . (800) 929-0184
-
- For ease in program registration, a registration order form is included with the
- distribution files.
-
- This program is produced by a member of the Association of Shareware Profession-
- als (ASP). ASP wants to make sure that the shareware principal works for you. If
- you are unable to resolve a shareware-related problem with an ASP member by
- contacting the member directly, ASP may be able to help. The ASP Ombudsman can
- help you resolve a dispute or problem with an ASP member, but does not provide
- technical support for members' products. Please write to the ASP Ombudsman at
- 545 Grover Road, Muskegon, MI 49442-9427, send a CompuServe message via easyplex
- to ASP Ombudsman 70007,3536, or by FAX to the ASP FAX number: (616) 788-2765. In
- communications with the Ombudsman please include a telephone number and/or FAX
- if available.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3
-
- INTRODUCTION ENVI_MAN Version 1.1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 4
-
-
- INSTALLING THE SYSTEM
-
- From a Diskette Vendor
-
- If the ENVI_MAN program has been obtained from a diskette vendor, you should
- follow any of their instruction on unpacking/installing the programs (if indeed
- they have separate instructions.) The program, and its files, is normally sup-
- plied as a self extracting file whose name is "EMANvvv.EXE" (vvv is the version,
- such as "EMAN100").
-
- This file should first be copied to a directory on your hard disk. This direc-
- tory may be a new one, such as one named "ENVI", and created specifically for
- ENVI_MAN, or a current one, such as "UTILITY", that has other programs/files.
- For information on creating a separate directory, see your DOS manual.
-
- NOTE FOR BEST OPERATION, ALL REQUIRED ENVI_MAN FILES *SHOULD* BE PLACED ON
- PATH REFERENCED SUBDIRECTORIES!
-
- Once the file is copied to the desired hard disk directory, at the DOS prompt
- change to this drive directory, and then type the EXE file name (such as
- "EMAN100") and press ENTER . This will unpack all of the ENVI_MAN files.
-
- From a BBS
-
- If the ENVI_MAN file was downloaded from a Bulletin Board, it should first be
- copied to a directory as defined above, and then unpacked, using whatever pro-
- gram is specified by the Bulletin Board. It is normally distributed with a name
- of "EMANvvv.ZIP" (vvv is the version) or "EMAN10.ZIP".
-
- Registered Version
-
- Registered users should use the program "INSTALL", that is supplied upon regis-
- tration. This program will create a registration file which will, in turn, sup-
- press the shareware registration reminders. If the system is already installed,
- and only "BRANDING" the system with the registration information is desired, you
- can run the program "ENVI_MAN", and when exiting, select the "BRAND" option by
- pressing F4 .
-
- -> To install ENVI_MAN on your hard disk, or to upgrade to a new release, follow
- the steps detailed below:
-
- 1. Place the ENVI_MAN distribution diskette in your floppy diskette drive.
-
- 2. At the DOS prompt, change to the drive in which the distribution diskette is
- located. For example, if the diskette was placed in drive A, type A : and
- press ENTER .
-
- 3. Type I N S T A L L and press ENTER . The installation program
- will then be loaded, and its display should be as shown below.
-
-
-
-
-
-
- 5
-
- INSTALLING THE SYSTEM ENVI_MAN Version 1.1
-
- ╒═╡ INSTallation MANagement Program ╞══════════╡ Started at═>12-31-99 08:00 ╞═╕
- │░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
- │░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
- │░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
- │░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
- │░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
- │░ ░░▄ ░░▄ ░░▄░░░░░░░░▄░░░░░░░░▄ ░░▄ ░░▄ ░░▄ ░░▄ ░░▄░│
- │░ Ç ░░█ ░░░▄ ░░█░░█▀▀▀▀▀▀ ▀▀░░█▀▀▀ ░░░▄ ░░░█ ░░░░▄ ░░░▄ ░░█░│
- │░ ┌┼┐ ░░█ ░░█░░▄░░█░░░░░░░░▄ ░░█ ░░░█ ░░░█ ░░█▀░░▄ ░░█░░▄░░█░│
- │░ ┌┴┐ ░░█ ░░█ ▀░░░█ ▀▀▀▀▀░░█ ░░█ ░░█░░▄░░█ ░░░░░░█ ░░█ ▀░░░█░│
- │░═┴═┴═░░█ ░░█ ░░█░░░░░░░░█ ░░█ ░░░░░░▄ ░░█░░█░░█░░█▀▀▀░░▄░░█ ░░█░│
- │░ ▀▀ ▀▀ ▀▀ ▀▀▀▀▀▀▀▀ ▀▀ ▀▀▀▀▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀░│
- ╘╡ INST_MAN Version 4.20 Copyright 1990-94 MicroMetric, All Rights Reserved ╞╛
- F1>Help│ESC>Exit│<┘/[char]>Select│ HomeEnd│
-
- NOTE Context sensitive help is available from this point on in the in-
- stallation program on, by pressing the F1 key.
-
- 4. If a color video card is detected, the following prompt will be displayed.
- ┌──────────────────────────────────────┐
- │ ╔═╡ Color Monitor Card Detected ╞═╗ │
- │ ║ Use the color display ║█ │
- │ ║ Force a monochrome display ║█ │
- │ ╚═════════════════════════════════╝█ │
- │ ███████████████████████████████████ │
- └──────────────────────────────────────┘
- -> If your system has a color monitor, press U .
- -> If your system has a monochrome or LCD display, press F .
-
- 5. A selection list of all path referenced directories is next displayed.
-
- NOTE Although ENVI_MAN will run from a non-path directory, placing its
- files on any path-referenced directory(s) allows the directory from
- which files are to be printed to be set as the current directory,
- before executing the program.
- ┌────────────────────────────────────────────┐
- │ ┌─┤ Select the INSTALLATION DIRECTORY ├─┐ │
- │ │ C:\BAT │█ │
- │ │ C:\DOS-500 │█ │
- │ │ C:\UTILITY │█ │
- │ │ C:\ZIP │█ │
- │ │ C:\ │█ │
- │ │ User Defined Drive-Directory Path │█ │
- │ └───────────────────────────────────────┘█ │
- │ █████████████████████████████████████████ │
- └────────────────────────────────────────────┘
- -> To cancel the installation program at this point, press ESCAPE .
- -> To select one of the path referenced directories on which to install
- ENVI_MAN, move the highlight bar to it and press ENTER .
- -> To specify a non-path referenced directory on which to install ENVI_MAN,
- press U and then press ENTER . A data entry window for the installation
- path will then be displayed, as shown below (with an example path already
- entered). Enter the desired drive and directory path on which to install
-
- 6
-
- ENVI_MAN Version 1.1 INSTALLING THE SYSTEM
-
- ENVI_MAN, using the control keys described on the bottom help line.
-
- NOTE INSTALL can only create directories one level deeper than that
- which currently exists. If the directory C:\ABC exists, the di-
- rectory C:\ABC\XYZ may be created; if C:\ABC does not already
- exist, an error will occur.
- ┌────────────────────────────────────────────────────────────────────────┐
- │ ┌─┤ Enter Path ├────────────────────────────────────────────────────┐ │
- │ │ C:\ENVI │█ │
- │ └───────────────────────────────────────────────────────────────────┘█ │
- │ █████████████████████████████████████████████████████████████████████ │
- └────────────────────────────────────────────────────────────────────────┘
- -> To cancel defining the path, press ESCAPE . The program will return to
- directory selection.
- -> To accept the path as entered and edited, press ENTER . If the speci-
- fied directory does not currently exist, the following message will be
- displayed.
- ┌────────────────────────────────────────────────────────────────────┐
- │ ┌─┤ MESSAGE ├───────────────────────────────────────────────────┐ │
- │ │ The drive-directory path as entered DOES NOT currently exist. │█ │
- │ │ This directory WILL NOW BE created. │█ │
- │ └───────────────────────────────────────────────────────────────┘█ │
- │ █████████████████████████████████████████████████████████████████ │
- └────────────────────────────────────────────────────────────────────┘
- -> To cancel creation of this directory, press ESCAPE .
- -> To create it, press ENTER . If the specified drive is invalid or
- the requested installation directory's parent does not exist, an
- error message will be displayed.
- ┌─────────────────────────────────────────────────────────────┐
- │ ┌─┤ MESSAGE ├────────────────────────────────────────────┐ │
- │ │ The drive-directory path as entered CANNOT BE CREATED. │█ │
- │ │ Please edit and CORRECT this path. │█ │
- │ └────────────────────────────────────────────────────────┘█ │
- │ ██████████████████████████████████████████████████████████ │
- └─────────────────────────────────────────────────────────────┘
- Press any key, and then re-edit the installation path.
-
- 6. A TYPE OF INSTALLATION selection menu will next be displayed. INSTALL will
- process either ■■■■_MAN SYSTEMS or their SUPPLEMENTAL FILES.
-
- SYSTEMS consist of the files necessary for basic program operation.
-
- SUPPLEMENTAL FILES contain additional information needed to accomplish added
- support or increased functionality.
- ┌───────────────────────────────┐
- │ ╔═╡ TYPE OF INSTALLATION ╞═╗ │
- │ ║ Systems - Programs ║█ │
- │ ║ supplemental Files ║█ │
- │ ║ eXit Installation ║█ │
- │ ╚══════════════════════════╝█ │
- │ ████████████████████████████ │
- └───────────────────────────────┘
- -> To install one or more SYSTEMS at this time, press S . A menu of avail-
-
- 7
-
- INSTALLING THE SYSTEM ENVI_MAN Version 1.1
-
- able SYSTEMS will then be displayed. For further installation instruc-
- tions, go to the next step.
-
- NOTE THIS APPLICATION CURRENTLY DOES NOT HAVE SUPPLEMENTAL FILES.
-
- -> To exit the INSTALL program at this time, press X .
-
- 7. If more than one system is available for installation, a SYSTEM TO INSTALL
- selection menu will be displayed, as shown below.
- ┌─────────────────────────────────────────────────────────────────────────────┐
- │ ╔═╡ TAG ╞╡ Select the SYSTEM(S) TO INSTALL ╞═════════════════════════════╗ │
- │ ║ DMAN100 SINGLE SCREEN data/graphical summary all disk drives ║█ │
- │ ║ EMAN100 Environment data summary, environ. space remaining ║█ │
- │ ║ FMAN100 Menu driven DOS file manager, directory tree ║█ │
- │ ║ LMAN100 Print text files on a laser printer, 36 print styles ║█ │
- │ ║ MMAN100 Display custom user selection menus from batch files ║█ │
- │ ║ PMAN100 Determines if a file is on a PATH directory ║█ │
- │ ║ VMAN100 Display and edit files in both ASCII and Hex ║█ │
- │ ║ ------ eXIT SELECTION AND INSTALL ALL TAGGED (√) ------ ║█ │
- │ ╚════════════════════════════════════════════════════════════════════════╝█ │
- │ ██████████████████████████████████████████████████████████████████████████ │
- └─────────────────────────────────────────────────────────────────────────────┘
- -> To terminate the installation program at this point, press ESCAPE .
- -> To toggle the INSTALL TAG for a given SYSTEM, press its highlighted letter
- or move the highlight bar to in with the arrow keys and press ENTER . A
- [√] character to the left of the SYSTEM name denotes that this SYSTEM will
- be installed.
- -> To conclude the SYSTEM selection process, press X . The INSTALLATION
- FUNCTION menu for each selected system will then be displayed.
-
- 8. A list of all of the selected SYSTEMS files is next displayed, along with an
- INSTALLATION FUNCTION menu. The normal sequence of operations is to first
- "Install" the SYSTEM program and files, and then "Brand" the SYSTEM with your
- name and serial number.
- ┌─────────────────────────────────────────────────────────────┐
- │ ╒═╡ Select the INSTALLATION FUNCTION ╞═══════════════════╕ │
- │ │ Install system Brand system eXit │█ │
- │ ╘════════════════════════════════════════════════════════╛█ │
- │ ██████████████████████████████████████████████████████████ │
- └─────────────────────────────────────────────────────────────┘
-
- ┌──────────────────────────────────────────────────────────────────────────────┐
- │╒═╡ File Name Status Hard Disk Path/File Description XXXX100 FILES ╞═╕ │
- ││ System═>XXXX_MAN This system does .................. │█│
- ││ XXXX_MAN.EXE PROCESS Main program for this application │█│
- ││ YYYY.YYY PROCESS Other files... │█│
- │╘═╡ INSTALLATION PATH═>C:\ENVI ╞════════════════════════════════════════════╛█│
- │ █████████████████████████████████████████████████████████████████████████████│
- └──────────────────────────────────────────────────────────────────────────────┘
-
- -> To install the SYSTEM on the hard disk, insure that the highlight bar is
- on the "INSTALL SYSTEM" FUNCTION and press ENTER . Each of the file(s)
- will be copied to the selected installation drive-directory.
-
- 8
-
- ENVI_MAN Version 1.1 INSTALLING THE SYSTEM
-
- NOTE A happy face symbol after any of the SYSTEM's file names denotes
- that this file is already on the hard disk. During installation
- it will be replaced, on the directory where it currently resides,
- not the INSTALLATION DRIVE-DIRECTORY PATH.
-
- If any of the files to be installed is already present, a ACTION menu will
- be displayed during its installation.
- ┌───────────────────────────────────────────────────────┐
- │ ┌─┤ Highlighted file(s) already present. ACTION? ├─┐ │
- │ │ Erase current file(s) and update │█ │
- │ │ erase and update this and All later file(s) │█ │
- │ │ Leave current file(s) 'as is' │█ │
- │ │ leave current and Skip the remaining file(s) │█ │
- │ └──────────────────────────────────────────────────┘█ │
- │ ████████████████████████████████████████████████████ │
- └───────────────────────────────────────────────────────┘
- -> To process the current file, select the proper ACTION to take by press-
- ing its highlighted letter or moving the highlight bar to it and press-
- ing ENTER .
-
- When all files have been copied to the hard disk, a copy complete message
- is displayed.
- ┌───────────────────────────────────────────────────────────────┐
- │ ┌─┤ MESSAGE ├──────────────────────────────────────────────┐ │
- │ │ FILE COPY COMPLETED. │█ │
- │ │ All of the required ENVI_MAN files are on the hard disk. │█ │
- │ │ ═══> ENVI_MAN IS READY TO RUN. <═══ │█ │
- │ └──────────────────────────────────────────────────────────┘█ │
- │ ████████████████████████████████████████████████████████████ │
- └───────────────────────────────────────────────────────────────┘
- -> To cancel the installation at this point, press ESCAPE .
- -> To continue with the installation, press any other key. The highlight
- bar will then be on the "BRAND SYSTEM" FUNCTION.
-
- 9. To brand the system with your name and serial number, move the highlight bar
- to the "BRAND SYSTEM" FUNCTION and press ENTER . A REGISTRATION INFORMATION
- data entry window will be displayed, as shown below, with sample data already
- entered.
-
- NOTE This step is REQUIRED for ENVI_MAN to be registered. Also, if you
- move the ENVI_MAN files to another drive-directory you will need to
- "BRAND" the system again.
-
- Enter your company and/or your name, and then the system registration
- number. Your registration number is located on the back of the front cover
- of this manual.
-
-
-
-
-
-
-
-
- 9
-
- INSTALLING THE SYSTEM ENVI_MAN Version 1.1
-
- ┌──────────────────────────────────────────┐
- │ ┌─┤ REGISTRATION INFORMATION ├────────┐ │
- │ │ Name ABC COMPANY, George Jones │█ │
- │ │ Registration number 12345678 │█ │
- │ └─────────────────────────────────────┘█ │
- │ ███████████████████████████████████████ │
- └──────────────────────────────────────────┘
- -> To accept either the name or registration number after entry and edit-
- ing, press ENTER . A message will be displayed after the registration
- number is entered. It's contents are dependent on whether the registra-
- tion number is valid. Both messages are shown below.
- ┌───────────────────────────────────────────────┐
- │ ┌─┤ MESSAGE ├──────────────────────────────┐ │
- │ │ ENVI_MAN serial number entered is VALID. │█ │
- │ └──────────────────────────────────────────┘█ │
- │ ████████████████████████████████████████████ │
- └───────────────────────────────────────────────┘
-
- ┌─────────────────────────────────────────────────┐
- │ ┌─┤ MESSAGE ├────────────────────────────────┐ │
- │ │ ENVI_MAN serial number entered is INVALID! │█ │
- │ │ Please try again. │█ │
- │ └────────────────────────────────────────────┘█ │
- │ ██████████████████████████████████████████████ │
- └─────────────────────────────────────────────────┘
- -> To continue with the installation program, press any key. If the
- registration number was valid, the "EXIT" option is highlighted. If
- it was invalid, select the "BRAND SYSTEM" option again.
-
- 10. To exit from this SYSTEMS installation function, move the highlight bar to
- the "EXIT" FUNCTION and press ENTER . If the SYSTEM has been properly
- branded, it is ready for use, and the program will either install the next
- selected SYSTEM, Step 8, or return to the TYPE OF INSTALLATION MENU, Step
- 6. If the system has not been branded, an error message is displayed, as
- shown below.
- ┌─────────────────────────────────────────────────────────────────┐
- │ ┌─┤ MESSAGE ├────────────────────────────────────────────────┐ │
- │ │ This system has not been 'BRANDED'. │█ │
- │ │ In order to be registered, it must first be 'BRANDED'! │█ │
- │ │ To exit without BRANDING, press ESCAPE. │█ │
- │ │ To continue with the INSTALL program, press any other key. │█ │
- │ └────────────────────────────────────────────────────────────┘█ │
- │ ██████████████████████████████████████████████████████████████ │
- └─────────────────────────────────────────────────────────────────┘
-
- Program Operation with Microsoft Windows
-
- ENVI_MAN may be run as a DOS application under Windows. To aid in its operation,
- an icon file, "ENVI_MAN.ICO", and a program information file, "ENVI_MAN.PIF",
- have been included. These should be installed into a Windows program group. See
- your Microsoft Windows manual for specific installation details.
-
-
-
- 10
-
-
- RUNNING ENVI_MAN
-
- The syntax to execute the ENVI_MAN utility program is:
-
- ENVI_MAN [requested environment memory] [option a] [option ...]
-
- The command line options provide information to ENVI_MAN that will override the
- default options that are in effect at the beginning of the program.
-
- A space MUST be present after the program name and any command line parameters.
- Spaces between options and requested environment memory are optional.
-
- Requested Environment Memory
-
- nnnnn (0-32767) If a numeric value is placed as the first value on the command
- line, it will be treated as a request to test for the availability of a
- corresponding number of bytes of environment space. This number will then
- be used in the calculation of the ERRORLEVEL variable using the rules
- detailed in the section "Available Environment Space ERRORLEVEL Calcula-
- tion".
-
- Options
-
- none If no options or requested environment memory are specified ENVI_MAN will
- display the program syntax.
-
- + Calculate the Available Environment Space using the Master Environment
- Size and any currently free memory available immediately above the Master
- Environment. Set the DOS ERRORLEVEL variable equal to the value calculated
- using the rules detailed in the section "Available Environment Space
- ERRORLEVEL Calculation". This is the default.
-
- - Calculate the Available Environment Space using only the Master Environ-
- ment Size. Set the DOS ERRORLEVEL variable equal to the value calculated
- using the rules detailed in the section "Available Environment Space
- ERRORLEVEL Calculation".
-
- s Display a single summary line specifying the Available Environment Size
- and the value to which ERRORLEVEL is set. This display does not cause a
- pause nor is any user action required.
-
- d Displays each of the current environment strings along with its length.
- Additionally data is displayed about the master environment size, free
- memory above the master environment, current environment size, available
- environment space and the value of ERRORLEVEL.
-
- x Suppress the error message display on Insufficient Environment Space re-
- maining.
-
- Shareware message
-
- A shareware message may be randomly displayed at the end of ENVI_MAN. Pressing
- any key will exit the program.
-
-
- 11
-
- RUNNING ENVI_MAN ENVI_MAN Version 1.1
-
- The use of the "X" option to suppress display of the Insufficient Environment
- Space Remaining will not affect the shareware message display.
-
- By registering you use of ENVI_MAN, you will be able to use the registration
- serial number to suppress the shareware message display.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 12
-
-
- MASTER AND PROGRAM ENVIRONMENTS
-
- Master Environment
-
- When the computer is first booted, a Master Environment is established. Its
- default size is 160 bytes for DOS versions 3.x and 4.x and 256 bytes for version
- 5.0. This size may be changed, in sixteen byte increments up to a maximum size
- of 32,767, by use of the SHELL and COMMAND statements in the CONFIG.SYS file.
- Details of these commands may be found in the DOS manual. For any changes to the
- CONFIG.SYS file to become effective, the system must be re-booted after the
- changes are made.
-
- The contents of the Master Environment are environment strings, each in the
- following format:
-
- NAME = STRING[ASCII 0]
-
- As can be seen from the format, the minimum environment string length is four
- bytes.
-
- An example environment string is -
-
- PATH=C:\
-
- The length of the above example is nine bytes.
-
- The Master Environment strings may be created or changed by use of the DOS com-
- mands such as PROMPT, PATH and SET. An example would be-
- SET GOOD=EMPIRE
- SET BAD=KLINGONS
- PROMPT=$P$G
-
- Program Environment
-
- When a program is executed, the loader (which is called by COMMAND.COM and is
- DOS Int 21h - EXEC), establishes a copy of the environment for use by the pro-
- gram. It first copies all of the environment strings from the Master Environ-
- ment(or, if this is a child process, from the parent's environment). These envi-
- ronment strings are then terminated by a three character sequence of:
-
- [ASCII 0][ASCII 1][ASCII 0]
-
- The environment strings are followed by the complete path of the loaded program
- using the format:
-
- D:\[subdirectory path\]NNNNNNNN.EEE[ASCII 0]
-
- where:
- D:\ disk drive from which the program is being loaded,
- subdirectory path\ path of the program being loaded,
- NNNNNNNN name of the program,
- .EEE extension of the program.
-
- The program environment is then sized up to a paragraph boundary so that its
-
- 13
-
- MASTER AND PROGRAM ENVIRONMENTS ENVI_MAN Version 1.1
-
- size in bytes is always a multiple of sixteen.
-
- Master Environment Expansion
-
- One interesting fact is that the size of the Master Environment may, under cer-
- tain circumstances, exceed its default size or the size defined in CONFIG.SYS.
-
- The Master environment is preceded by a 16 byte Memory Control Block (MCB) which
- give the memory block size and the address of its owner. If the address is zero,
- the memory block is free.
-
- In some cases while booting, Terminate and Stay Resident (TSR) programs are
- loaded. Their program environment is allocated before the program is loaded.
- Some TSR's will release their environment memory allocation before returning
- control to the command processor. If the size of the environment does not grow,
- these free memory holes can be used to load the environment for later TSR's or
- other programs. However, if the size of the environment does increase, there may
- be few uses for these free memory areas and they may remain unused.
-
- In the situation just described, memory allocation in the area of the Master
- Environment might look as detailed below. ENV_SIZE is the default or defined
- value for the Master Environment.
-
- Memory Control Block 1 (=16 bytes)
- {OWNER=COMMAND.COM}
- {MEMORY_SIZE=ENV_SIZE}
-
- Master Environment (=ENV_SIZE bytes)
-
- Memory Control Block 2 (=16 bytes)
- {OWNER=FREE}
- {MEMORY_SIZE=X}
-
- Free Memory (=X bytes (a multiple of 16))
-
- Memory Control Block 3 (=16 bytes)
- {OWNER=SOMEONE}
- {MEMORY_SIZE=Z}
-
- Note that MCB 2 and its associated memory block are free. Now for the fun part!
-
- If a request is made to COMMAND.COM to increase the size of the environment,
- such as with a SET statement and the size of the new environment would then
- exceed that as defined by ENV_SIZE, it WILL NOT display "Out of environment
- space". Rather, it will obtain the needed memory from MCB 2 and its associated
- block.
-
- Lets assume that there was a Master Environment (ENV_SIZE) of 160 bytes, the
- current length of the environment strings was 155 bytes and the SET command will
- add 10 bytes to the size of the environment strings.
-
- COMMAND.COM will:
- 1. Increase the size of the memory block specified in MCB 1 by 16 bytes.
-
- 14
-
- ENVI_MAN Version 1.1 MASTER AND PROGRAM ENVIRONMENTS
-
- 2. This increases the size of the Master Environment by 16 bytes.
- 3. Relocate MCB 2 16 bytes higher and decrease the size of its memory block
- by 16 bytes.
- 4. This decreases the size of the free memory block associated with MCB 2 by
- 16 bytes.
-
- This area of memory will now look like:
-
- Memory Control Block 1 (=16 bytes)
- {OWNER=COMMAND.COM}
- {MEMORY_SIZE=ENV_SIZE+16}
-
- Master Environment (=ENV_SIZE+16 bytes)
-
- Memory Control Block 2 (=16 bytes)
- {OWNER=FREE}
- {MEMORY_SIZE=X-16}
-
- Free Memory (=X-16 bytes (a multiple of 16))
-
- Memory Control Block 3 (=16 bytes)
- {OWNER=SOMEONE}
- {MEMORY_SIZE=Z}
-
- This procedure can continue - Master Environment increasing by 16 bytes and Free
- Memory and its MCB 2 decreasing by 16 bytes - until both the Free Memory AND MCB
- 2 have been incorporated into the Master Environment!
-
- Note that MCB 3 is not involved, since, if MCB 3 pointed to a free memory block,
- it would normally be incorporated into MCB 2. However, if MCB 3 did point to
- free memory, it could eventually be used by the Master Environment after all of
- MCB 2 and its free memory was used.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 15
-
- MASTER AND PROGRAM ENVIRONMENTS ENVI_MAN Version 1.1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 16
-
-
- ENVI_MAN OPERATION
-
- Program Syntax
-
- A program syntax message is displayed if:
-
- * No command line parameters are specified. Or,
- * Any of the command line parameters is invalid.
-
- The program syntax message is shown below.
- ┌─────────────────────────────────────────────────────────────────────────────┐
- ┌┤ ENVI_MAN Version 1.10, Copyright 1991-94 MicroMetric, All rights reserved ├┐
- │The program syntax is: ENVI_MAN [requested environment memory][options] │
- │ options = none, display syntax │
- │ +, calculate ERRORLEVEL using Free Memory Above Master (default)│
- │ -, calculate ERRORLEVEL using only Master Size │
- │ d, display Environment Data │
- │ s, display Environment Space Remaining Summary line │
- │ x, suppress displays including Insufficient Environment Message │
- │ requested = nnnnn, optional decimal bytes of environment memory needed │
- │ERRORLEVEL = AVAILABLE ENVIRONMENT SPACE + Free(optional) - Requested(opt.) │
- │ = 0, no Environment Space Remaining │
- │ = 1-254, bytes Environment Space Remaining │
- │ = 255, greater that 254 bytes Environment Space Remaining ┴
- └────────────────────────────────┤ ENVI_MAN syntax, Press any key to continue..
- └─────────────────────────────────────────────────────────────────────────────┘
-
- -> If this message is displayed, correct the program syntax and rerun.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 17
-
- ENVI_MAN OPERATION ENVI_MAN Version 1.1
-
- Environment Data Display
-
- ENVI_MAN has two major functions: an informational one and a testing one. The
- Environment Data Display is its primary informational tool.
-
- To obtain the Environment Data Display, use the syntax -
-
- ENVI_MAN D
-
- A sample of the resulting Environment Data Display is shown below. An explana-
- tion of its information follows.
- ┌─────────────────────────────────────────────────────────────────────────────┐
- ┌┤ ENVI_MAN Version 1.10, Copyright 1991-94 MicroMetric, All rights reserved ├┐
- │ COMSPEC=C:\DOS\COMMAND.COM ─> 27 │
- │ DOS=DOS-330 ─> 12 │
- │ PATH=C:\BAT;C:\DOS-330;C:\UTILITY;C:\ ─> 38 │
- │ PROMPT=$e[36;44;1m$t$h$h$h$h$h$h $d$h$h$h$h$h $p$g$e[37;44;1m ─> 62 │
- │■C:\UTILITY\ENVI_MAN.COM ─> 24 │
- └─────┤ Current Environment Strings ─> String Length ├────────────────────────┘
- │ Master Environment Location <> 0E36:0000 │
- │ MASTER ENVIRONMENT SIZE ═> 320 │
- │ Free Memory Above Master +> 80 │
- │ POSSIBLE MASTER ENVIRONMENT SIZE ≈> 400 │
- │ Number Of Environment Strings <> 4 │
- │ Environment Strings Length +> 140 │
- │ ■Program Path Length +> 26 │
- │ Current Environment Size ═> 176 │
- │ AVAILABLE ENVIRONMENT SPACE ═> 180 │
- │ POSSIBLE AVAIL ENVIRONMENT SPACE ≈> 260 │
- │ Requested Environment Memory ─> 0 │
- │ ERRORLEVEL SET TO ═> 255, Press any key to continue.. │
- └─────────────────────────────────────────────────────────────────────────────┘
-
- A message, "-More-, Press any key to continue.." will appear each time that
- twenty-four data lines have been displayed.
-
- The program line shows the current ENVI_MAN version.
- The boxed lines, except for the last, are the current Master Environment and
- Program Environment strings. At the end of each string is its length, which
- includes its terminating zero byte.
- The last boxed line is the program path that is included in the Program Environ-
- ment. At its end is its length, including its terminating zero byte.
-
- MASTER ENVIRONMENT LOCATION . . . . The segment address and offset (always zero)
- at which the Master Environment is located. Its MCB is located one paragraph
- lower.
- MASTER ENVIRONMENT SIZE . . . . The current Master Environment size, not neces-
- sarily the default or defined size.
- FREE MEMORY ABOVE MASTER . . . . . The size of any contiguous free memory in-
- cluding its associated MCB above the Master Environment.
- POSSIBLE MASTER ENVIRONMENT SIZE . The possible maximum size of the Master
- Environment if the currently available free memory is included.
-
-
- 18
-
- ENVI_MAN Version 1.1 ENVI_MAN OPERATION
-
- NUMBER OF ENVIRONMENT STRINGS . The number of currently defined environment
- strings.
- ENVIRONMENT STRINGS LENGTH . . The size of all of the currently defined envi-
- ronment strings. This size includes the strings termination zero byte, since
- this byte is required in the Master Environment.
- PROGRAM PATH LENGTH . . . . . . The length of the program path string in the
- Program Environment. This size includes the termination zero byte and the two
- bytes that separate the environment strings from the program path.
- CURRENT ENVIRONMENT SIZE . . . . . The size of the current environment. This
- size set by COMMAND.COM and is always a multiple of 16 bytes.
- AVAILABLE ENVIRONMENT SPACE . . . . Currently defined MASTER ENVIRONMENT SIZE
- less the currently defined ENVIRONMENT STRINGS LENGTH. The available free
- space in the currently defined Master Environment.
- POSSIBLE AVAIL ENVIRONMENT SPACE . The AVAILABLE ENVIRONMENT SPACE plus the
- FREE MEMORY ABOVE MASTER Environment space.
- REQUESTED ENVIRONMENT MEMORY . The amount of environment memory needed as
- requested in the ENVI_MAN command line parameters.
- ERRORLEVEL SET TO . . . . . . . . . The value calculated by ENVI_MAN to which
- the ERRORLEVEL variable is set upon program exit. For the formula used for
- this calculation, see the section "AVAILABLE ENVIRONMENT SPACE ERRORLEVEL
- CALCULATION" later in this chapter.
-
- Environment Space Remaining Display
-
- To display a single summary line on the environment space status, use the syntax
- -
-
- ENVI_MAN S
-
- An example of the resulting display is shown below. For the formula used for
- this calculation, see the section "AVAILABLE ENVIRONMENT SPACE ERRORLEVEL CALCU-
- LATION" later in this chapter.
- ┌─────────────────────────────────────────────────────────────────────────────┐
- │ Environment Space Remaining ═> 255 │
- └─────────────────────────────────────────────────────────────────────────────┘
-
- Additional Environment Space Required Display
-
- If, based on the defaults and the command line parameters, there is not suffi-
- cient environment space remaining, an informational message is displayed, as
- shown below. This message ONLY appears if reserved memory has been specified on
- the command line AND the "X" suppress option is NOT specified.
-
-
-
-
-
-
-
-
-
-
-
-
- 19
-
- ENVI_MAN OPERATION ENVI_MAN Version 1.1
-
- ┌─────────────────────────────────────────────────────────────────────────────┐
- ┌┤ ENVI_MAN Version 1.10, Copyright 1991-94 MicroMetric, All rights reserved ├┐
- │The amount of Additional Environment Memory requested for this batch file is │
- │greater than the currently available Environment Space. This means that if │
- │execution of this batch file continued, the operating system would display │
- │the message "out of environment space" and terminate the batch file. In order│
- │to run this batch file (assuming no free memory above the Master Environment)│
- │you MUST decrease the environment strings length OR increase the size of the │
- │ENVIRONMENT space using the SHELL statement in your CONFIG.SYS file. ┴
- └──┤ Additional Environment Space Required ═> 120, Press any key to continue..│
- └─────────────────────────────────────────────────────────────────────────────┘
-
- The displayed "Additional Environment Space Required" NEVER includes any possi-
- ble free memory above the Master Environment. This is the amount by which the
- defined environment size should be increased in order to run the program with
- the desired environment information. Possible free memory is not used since this
- value is how much the Master Environment
- needs to be increased.
-
- The Master Environment size may be changed, in sixteen byte increments up to a
- maximum size of 32,767, by use of the SHELL and COMMAND statements in the CONF-
- IG.SYS file. Details of these commands may be found in the DOS manual. For any
- changes to the CONFIG.SYS file to become effective, the system must be re-booted
- after the changes are made.
-
- If sufficient environment space was not available, this message WOULD BE dis-
- played with the syntax -
-
- ENVI_MAN 2000
-
- and WOULD NOT BE displayed with the syntax -
-
- ENVI_MAN 2000X
-
-
- Available Environment Space ERRORLEVEL calculation
-
- The ERRORLEVEL variable is used to denote the amount of Available Environment
- Space and is calculated as follows:
-
- ERRORLEVEL = Master Environment Size
- - Environment Strings Size
- + Free Memory Above Master Environment (optional)
- - Requested Environment Memory (optional)
-
- If ERRORLEVEL is negative (there is not enough Available Environment
- Space), it is set equal to zero to denote an error condition.
-
- If ERRORLEVEL, as calculated, is equal to zero (there is exactly enough
- current Available Environment Space), it is set equal to one to denote a
- non-error condition.
-
- If ERRORLEVEL is greater than 254, it is set equal to 255.
-
- 20
-
- ENVI_MAN Version 1.1 ENVI_MAN OPERATION
-
- A summary of the various ERRORLEVEL values and their relationship to the Avail-
- able Environment Space is shown below.
-
- ERRORLEVEL Available Environment Space
-
- 0 -32767 to -1
- 1 0 to 1
- 2-254 Same as ERRORLEVEL
- 255 255 to 32767
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 21
-
- ENVI_MAN OPERATION ENVI_MAN Version 1.1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 22
-
-
- ENVI_MAN BATCH FILE EXAMPLES
-
- Shown below are several examples of the use of ENVI_MAN in batch files.
-
- -> To assure that an environment variable of 8 character storage size may be
- added and to display your own message if there is insufficient space, use the
- following batch file code:
-
- ...
- ENVI_MAN 8+X (or ENVI_MAN 8X)
- IF NOT ERRORLEVEL 1 GOTO NOFIT
- ...
- :NOFIT
- ECHO DO THIS AND THAT BECAUSE
- ECHO THERE IS NOT ENOUGH SPACE
- ECHO IN THE ENVIRONMENT.
- ...
-
- The batch file code shown below will produce the same results at that
- above (without the requested environment memory parameter the "Additional
- Environment Space Required Display" can never occur and thus the "X" sup-
- press option is not needed):
-
- ...
- ENVI_MAN +
- IF NOT ERRORLEVEL 8 GOTO NOFIT
- ...
- :NOFIT
- ECHO DO THIS AND THAT BECAUSE
- ECHO THERE IS NOT ENOUGH SPACE
- ECHO IN THE ENVIRONMENT.
- ...
-
-
- -> To assure that an environment variable of 8 character storage size may be
- added and let ENVI_MAN display a message if there is insufficient space, use
- the following batch file code:
-
- ...
- ENVI_MAN 8+ (or ENVI_MAN 8)
- IF NOT ERRORLEVEL 1 GOTO EXIT
- ...
- :EXIT
- ...
-
- -> To display the amount of available environment space on a single line, use
- the following batch file code:
-
- ...
- ENVI_MAN +S (or ENVI_MAN S)
- ...
-
-
- -> To display the environment data, use the following code (this syntax may be
-
- 23
-
- ENVI_MAN BATCH FILE EXAMPLES ENVI_MAN Version 1.1
-
- used in a batch file or entered at the DOS prompt):
-
- ENVI_MAN D
-
- Sample MENU_MAN Batch File
-
- A sample batch file, ENVIDEMO.BAT, is included in the distribution archive. It
- contains a variety of examples demonstrating the various ENVI_MAN features.
-
- -> To demonstrate the various features of MENU_MAN, at the DOS prompt change to
- the drive and directory on which MENU_MAN was installed, type E N V I
- D E M O , and then press ENTER .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 24
-
-
- ENVI_MAN FILES
-
- ENVI_MAN is normally distributed as compressed archives consisting of the fol-
- lowing files (these files are included in the compressed file EMANvvv, where vvv
- is the version):
-
- Files required for ENVI_MAN operation:
-
- ENVI_MAN.COM . . Executable program
-
- Files included to aid in the use of ENVI_MAN:
-
- ENVI_MAN.DOC . . ENVI_MAN documentation manual
- ENVI_MAN.ICO . . ENVI_MAN Windows icon
- ENVI_MAN.PIF . . ENVI_MAN Windows program information file
- ENVIDEMO.BAT . . ENVI_MAN Demonstration sample batch file.
-
- Additional files in the distribution archive:
-
- ENVI_MAN.ORD . . Shareware/retail registration order form
- DESC.SDI . . . . BBS program description
- FILE_ID.DIZ . . . BBS program description
- README.EM . . . . Text file consisting of program summary, features, and history
- SYSOP.DOC . . . . SYSOP distribution information
- VENDOR.DOC . . . Diskette/CD ROM vendor distribution information
- ENVI_MAN.LST . . List of ENVI_MAN files in the distribution file
-
- The registered version diskette includes these additional files:
-
- Installation files:
-
- INSTALL.EXE . . . Installation program
- INSTALL.HLP . . . Installation program help file
- INSTALLZ.EXE . . Installation unpack program
- INST_SYS.ZIP . . Installation program files
- README . . . . . Installation read me file
-
- The files that can be generated or used by ENVI_MAN consist of:
-
- ENVI_MAN.REG . . ENVI_MAN registration information.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 25
-
- ENVI_MAN FILES ENVI_MAN Version 1.1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 26
-
-
- INDEX
-
- Action steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
- Additional environment space required display . . . . . . . . . . . . . . 19, 23
- Available Environment Space ERRORLEVEL calculation . . . . . . . . . 11, 19, 20
-
- Brackets and parentheses . . . . . . . . . . . . . . . . . . . . . . . . . . 1
-
- Computer key conventions . . . . . . . . . . . . . . . . . . . . . . . . . . 1
-
- ENVI_MAN batch file examples . . . . . . . . . . . . . . . . . . . . . . . . 23
- ENVI_MAN files . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5, 9, 25
- ENVI_MAN operation . . . . . . . . . . . . . . . . . . . . . . . . . . . 17, 25
- ENVIDEMO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24, 25
- Environment data display . . . . . . . . . . . . . . . . . . . . . . . . . . 18
- Environment space remaining display . . . . . . . . . . . . . . . . . . . . . 19
-
- From a BBS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
- From a diskette vendor . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
-
- Installing the system . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
- Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
-
- Major features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
- Manual format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
- Master and program environments . . . . . . . . . . . . . . . . . . . . . . . 13
- Master environment . . . . . . . . . . . . . . . . . . . . 1, 11, 13-15, 18-20
- Master environment expansion . . . . . . . . . . . . . . . . . . . . . . . . 14
-
- Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1, 11, 17
-
- Page layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
- Program environment . . . . . . . . . . . . . . . . . . . . . . . 13, 14, 18, 19
- Program operation with Microsoft Windows . . . . . . . . . . . . . . . . . . 10
- Program syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11, 17
-
- Registered version . . . . . . . . . . . . . . . . . . . . . . . . . . . 5, 25
- Requested environment memory . . . . . . . . . . . . . . . . . . 11, 18-20, 23
- Running ENVI_MAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
-
- Shareware . . . . . . . . . . . . . . . . . . . . . . . ii, 2, 3, 5, 11, 12, 25
- Shareware distributed documentation manual . . . . . . . . . . . . . . . . . 2
- Shareware message . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11, 12
- Support BBS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ii, 3
- System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
-
- Technical support . . . . . . . . . . . . . . . . . . . . . . . . . . . . ii, 3
-
- ■■■■_MAN programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
-
-
-
-
-
-
- 27
-